Retrieve monitor status using Monitor ID
GET/query/objects/:id/status
Call this API to obtain the status of each monitor by providing the Monitor ID.
Request
Path Parameters
Unique identifier for the monitor. This Monitor ID is required to fetch the corresponding status of the the monitor.
Responses
- 200
- 400
- 403
- 500
Successful response. The request was processed successfully, and the status of the specified monitor is returned in the response body.
- application/json
- Schema
- Example (from schema)
Schema
result object
{
"result": {
"status": "up"
}
}
The request was invalid. Possible reasons could include missing required parameters or incorrect parameter values.
- application/json
- Schema
- Example (from schema)
Schema
{
"response-code": 400,
"status": "fail",
"message": "Bad request",
"error.code": "MD031"
}
Request Forbidden. The client does not have the necessary permissions to access this resource. This may occur if the API key or token lacks the required permissions.
- application/json
- Schema
- Example (from schema)
Schema
{
"response-code": 403,
"message": "Unauthorized access: Client is not allowed to access API",
"error.code": "MD022"
}
Internal Server Error. The server encountered an unexpected condition that prevented it from fulfilling the request. This is often due to server misconfigurations or an issue with the system.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
result object[]
{
"result": [
{
"response-code": 500,
"status": "fail",
"message": "Internal server exception, Possible reason: Cannot invoke \"String.length()\" because \"content\" is null",
"error.code": "MD031",
"error": "io.vertx.core.json.jackson.DatabindCodec.createParser(DatabindCodec.java:116)\n\tat io.vertx.core.json.jackson.DatabindCodec.fromString(DatabindCodec.java:90)\n\tat io.vertx.core.json.Json.decodeValue(Json.java:83)\n\tat io.vertx.core.json.Json.decodeValue(Json.java:95)\n\tat"
}
]
}